home *** CD-ROM | disk | FTP | other *** search
- ;
- ; This is a script file that demonstrates how
- ; to establish a PPP connection with a host
- ; that uses a menu system.
- ;
- ; A script file must have a 'main' procedure.
- ; All script execution starts with this 'main'
- ; procedure.
- ;
-
-
- ; Main entry point to script
- ;
- proc main
-
- ; Delay for 3 seconds first to allow host time
- ; to send initial characters.
-
- ; delay 3
- ; transmit "^M"
-
- ; wait for Help:
-
- waitfor "elp:"
- transmit "pinaac,v1.0"
- transmit "^M"
-
- ; Wait for the login prompt before entering
- ; the user ID: aacppp
-
- waitfor "ogin:"
- transmit $USERID
- transmit "^M"
-
- ; Enter the password: #caa123
-
- waitfor "ord:"
- transmit $PASSWORD
- transmit "^M"
-
- endproc
-